package com.easylive.entity.request.account;

import com.easylive.entity.constants.Constants;
import lombok.Data;

import javax.validation.constraints.*;

/**
 * @Author: yudaxian
 * @Description: 注册请求参数对象
 * @DateTime: 2024/11/2 18:49
 **/
@Data
public class WebRegisterReqVO {

    @Email
    @Size(max = 150)
    private String email;

    @NotEmpty
    @Pattern(regexp = Constants.REGEX_PASSWORD)
    private String registerPassword;

    @NotEmpty
    @Size(max = 20)
    private String nickName;

    @NotEmpty
    private String checkCode;

    @NotEmpty
    private String checkCodeKey;

}
